package com.sam.gui.activity;

import android.os.Bundle;
import android.webkit.JavascriptInterface;

import com.sam.ui.base.activity.BaseActivity;
import com.sam.utils.CacheActivityManager;
import com.sam.gui.base.BaseWebActivity;

public class RegisterCompletedWebActivity extends BaseWebActivity {

    @Override
    protected void initView() {
        super.initView();
        setContentUrl("index.php?c=user&a=reg_done&platform=android&version=");
    }

    @JavascriptInterface
    public void reg2login(){
        CacheActivityManager.finishActivity();
        finish();
    }
}
